Update code margins