MASTER AMENDMENT TO LEASES