added config event functionality