get rid of karam deprecation warning

WARN [config]: config.configure() is deprecated, please use config.set() instead.