update message on edit