updating code folding