The amendment of any standard or model code or ordinance or the publication of any new and revised such code or ordinance by the agency, organization, or group sponsoring the same shall in no wise affect the incorporating ordinance or the code or ordinance but such ordinance and the code or ordinance as incorporated shall continue in effect until the incorporating ordinance is repealed or a later standard or model code or ordinance is incorporated by reference. Any statute or section thereof or any state regulation or portion thereof which has been incorporated by reference and which is amended by the legislature or changed by the state officer, board or agency, shall cease to be effective until and unless incorporated by amendment of the incorporating ordinance or another incorporating ordinance.
K.S.A. 12-3012