fixed bug with sending update on ws on ws connect