MIDDLEBURY — Middlebury selectboard members got somewhat of a jolt at their meeting last Tuesday when they received an estimate that it would cost $525,000 to bring the mechanical, electrical and plumbing systems of the municipal gym up to modern working standards, an amount that is just $50,000 short of the $575,000 sum that officials had hoped would suffice in making the well-used building completely up to speed.