Updating API endpoints