update disconnected and add feature to delete chat