update code references