Update OfflineDirectory.php