update options generate helper