fixing appId issue in the cluster monitor
updating monitor and application with the same status when updating as terminating