Update the page (code from master)