Updated orders model validation, added update route, and added Node global to jsHint