Doctrine 2 - ORM

update an entity with an ID column which is a relation instead of a normal field