update memcached hash to sha1