Update Doctrine2.php