updated config method names in samples