updated example the new config implementation
new config implementation