updated Changes after adding memcached option in config file