Adding update functionality for User domain

Adding update functionality for user domain re-using the persist method