remove unused log
Add method to update user.