adds missing fields to wine edit query