update security script