update nested resource