update dao and model classes