update app to connect to ws server