Update directive.coffee