update connection template