handle doc deletes in sql pillows