modify sock