add message delete for sent and update all other functions