update pagination for bootstrap