update package 'db' to 'dao'