removing connectstatusupdate function as its not used