Modifying the data array and the tooltip