Updates directives and namespaces node