options and sample update