updated the memcache interface to support CAS