update code view