delete zip and update sql