renamed api endpoints