Update db class, scan service