fix to insert method only updates position now if name changes.