change db class