update directives