Update $options as optional parameter

$options as optional parameter to preserve compatibility