update options each time