Update config in samples