Write Records smart service is adding a new row instead of updating the existing row

Certified Associate Developer

Hi,

I'm trying to update the DB whenever there is an user interaction in the record action but it is creating new row instead of updating the existing one. Please let me now if I'm missing something to configure.

Below are screenshots of the Write record 

  Discussion posts and replies are publicly visible