Commiting after modifying the pagination for 20 elements