added some fix in update user