Fixed event loop and updated the jar