Update joins for update queries count