extract updating hunk summary into another function.