Update user

This PR adds update functionality to the API