push events to the server