updated api reference