update options element