update theme and pagination change