update with nested structures answer