update: for offline mode