update option type