more work on update user functionality