it wasnt long before he was making changes to the document behind closed doors , passing secret legislations and creating statutes which undermined the authority of the original document to suit his own agendas .