update of codeUnit widget