Implemented user/update API endpoint.