Update master code