update events to server and get back