add delete msgs feature, and update msgs feature