update code test