結果 : how to update particular object from array in javascript