generate code change