fix socket updates