update last page