Update edit user functionality