add convience methods to set memcached & database