Added update statistics rake task