Updating number of options