Update function_set_close

add set option from passed array instead of this obj