Add `sync` to sync back events to server