edit socket