update validator to support zepto