Fix the bug that prevents messages to be updated in-place.