commiting changes for pagination