update the style of code