update markup code