updated Memcached DB layer
modified memcached db layer