update offline