update framework and option sample