added code to change destination data for connection