Doctrine edit