add limit an update lastpage