up db class