modify api about document