updating stats fxns