add pagination info to all tables with pagination