message deletion in db transaction