added test for array in helper::setUpdate