fixed issue on updating user