functionality to update current page of presentation