update and finish the page events