better logging in update client