Split iedit-occurrence-update into two functions