Changed check metrics and updateParameters()

Instead of hashing the body and comparing, I now compare the status
codes and content-length.

I figured out how to use updateParameters() and have changed the code to
use that instead of remove/addParameters()