add dao and modified entity