update security for login update