update code to last contact version