changed routes for restify