Update bug when updating stats