updates option types'