add a config button to update chart with new config