updated api and page