added update firmware button and allowed larger ranges than short