fix update db but update memcached bug