Set segment config from public to protected
Update example with simple configuration