Update code layout