save delete query