modify api endpoints for production