update kqueue event loop