the user can update name,email,password and avatar