Update add set function to create doctrine CardEntities