updated backend api endpoints