update security of secret token.