Fix update set option value.
Support both array and comma separated string as arguments
Fix "timeout" option is deprecated issue.