update nested list