Add `updateDictionaryByKeyPath`