updated code in example config