Now updating the connection status flag