add update and edit for user