code review
fixed bug with option name updating