update Dao to use generated parents