fixed documents page changes api