update secrets file