updating sigma