Update card entities to doctrine, set entities