updating a user by clicking on it