Add updateFromArray.