update complexDirectives