updated the appsec snippet