edit and delete message