Changed Vehicle.prototype.update to Vehicle.merge, so will work when loaded via json (as prototype functions would not be available when loaded from file)