fix update profile wrong var name problem