db update script from ver1 to ver2