sync models to server using a websocket