update api endpoints