fixed error where you cannot delete and update the second chat