Added update user functionality