fixed bug - updateOption renders graph in invalid range