update security agents credentials