fixed dao update