Updates pagination and refines colors.