updating interrupt example