update libevent & memcached