change data to dao