update dataChannel working correctly