update code tips