updated a few things in feature for pagination