update sample config