update code version in embedded links