change the page after async request