Update validate.coffee