update dao and service