結果 : replace existing object in array javascript