upload events, ws to listen for events