Added search and update Db class