setdefault won't update if value is already set

config['CACHE_TYPE'] is unable to be set to 'saslmemcached' with setdefault since it is already set to 'simple'