update code inserter