Add routine terminated application when update application