update line chart