結果 : update all properties in object javascript