(fix) update database to support memcached