update  last page