updated the options dialog