updating skill and sigma update logic