modify conn structure