Update msg when delete layout