Improved the code snippet
diff --git a/index.html b/index.html
index d0a7a92..e521609 100644
--- a/index.html
+++ b/index.html
@@ -413,12 +413,15 @@
                                                 <div class="tab-pane " id="storage-java">
                                                         <pre class="language-java">
                                                             <code>
-                                                            IgniteConfiguration cfg = new IgniteConfiguration();
+                                                                IgniteConfiguration cfg = new IgniteConfiguration();
 
-                                                            DataStorageConfiguration storageCfg = new DataStorageConfiguration();
+                                                                DataStorageConfiguration storageCfg = new DataStorageConfiguration();
 
-                                                            // Enable Ignite Persistence
-                                                            storageCfg.getDefaultDataRegionConfiguration().setPersistenceEnabled(true);
+                                                                // Enable Ignite Persistence
+                                                                storageCfg.getDefaultDataRegionConfiguration().setPersistenceEnabled(true);
+
+                                                                // Using the new storage configuration
+                                                                cfg.setDataStorageConfiguration(storageCfg);
                                                             </code>
                                                         </pre>
                                                 </div>