KH-203: Handle relation changes for codes