update api service
websockets are now functional