Update socket path for new environment