Update ifdeletethen