edited onUpgrade methods in each db class