update connection string, repair encoding bug