edit user in database