Updated the threshold and count values to something proper