updating options.