Update directives.coffee