fixed bug where updates before connect where not showing. corrected some pub/sub logic