substring updates