update offline check