update the rml and security file