fixing the ClusterActivatedEvent issue and updating the cluster with appId