modify pes grid