update markup and adjust default style