remove knox at flash & tidy update-script