Update marks after rename.