updated api with missing parameters