added auto draw to connection two objects