update the secrets