update primary and secondary green