Fix: update nested dictionary items