add update userinfo logic