Update optimize.php