edit last page