delete query model