updated api calls