fixing updating from plain markup