Fixing fields.location.updateItem with nested and flat paths