# Update records using PS

**URL:** <https://community.automationedge.com/t/update-records-using-ps/188>\
**Category:** Get Help & Discuss\
**Created:** [February 12, 2018, 10:53am UTC](https://community.automationedge.com/t/update-records-using-ps/188 "2018-02-12T10:53:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![priyanka.waghmare](https://avatars.discourse-cdn.com/v4/letter/p/b3f665/32.png) [@priyanka.waghmare](https://community.automationedge.com/u/priyanka.waghmare)\
**Post date:** [February 12, 2018, 10:53am UTC](https://community.automationedge.com/t/update-records-using-ps/188/1 "2018-02-12T10:53:57Z")

</div>

Hi all,  
how to update records in the database using process studio ?

---

<div class="post-metadata">

**Author:** ![archana.muley](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@archana.muley](https://community.automationedge.com/u/archana.muley)\
**Post date:** [February 12, 2018, 11:06am UTC](https://community.automationedge.com/t/update-records-using-ps/188/2 "2018-02-12T11:06:29Z")

</div>

Hello Priyanka,

You should use the Process Studio step named as insert/update.  
if Primary key is already exist then it will update the record,or else insert into record  
Thanks and regards,

Archana Muley
