update the Tuple class