Cadillac has announced a new contract with Sergio Perez, days before he starts his 300th grand prix at home in Mexico.