Update DoctrineDm.php