master
if (event == null) res.send(404); else { event.location = req.body['location'] || event.location; event.state = req.body['state'] || event.state;