[FIX] update method in DiscreteLineshape should be do_update