updating stat visit