Update socket and remove log