Update upgrade_class.pde