Changed delete2 to update