update code result window