fix update visible option type