update entities from doctrine xml