Add virtual entity schema and update logic.