update socket uri