renew pk sk when update password
some changes