Fixed bug with updateOption