update warn and crit vars
switch to warn_value crit_value