update epoll code