Fix default data_path and db_path in upgrade