update websocket send for angular