add update line chart with tooltip