Add updateInfo API

at setinfo
at setpassword