adjust api endpoints