updateOption

fun <T> updateOption(key: String, value: T?, type: OptionType)