update pagination section and css