updating Tuple to Array