reuse client passed in during a check.

added a test for update