結果 : update nested object javascript using spread operator