allow change of config through event

trigger updateConfig with new config data to change config on the fly.