updated api functions