add optional argument to update threshold value

> bump version to 0.2.0