Update code locations