implement setMultiple in Update