Update User

Function to update user
Takes a edited user from getUser() and applies the changed values.