Update validator.coffee