change the ORM structure for schedule object