small update to api routes