---
title: "Comment by Vibha Trehan on \"Programmatically Removing & Updating Default Lakehouse Of A Fabric Notebook\" | Hashnode"
description: "Thank you so much for your articles. I have been trying to acheive the same, but I found a strange thng when i experimented with this code. Even though the lake"
url: "https://hashnode.com/posts/programmatically-removing-updating-default-lakehouse-of-a-fabric-notebook/66eca83749a02928188090ea/comment/6733aa20c0aa902c2204fe8c"
---

[Discussion](https://hashnode.com/posts/programmatically-removing-updating-default-lakehouse-of-a-fabric-notebook/66eca83749a02928188090ea)

Comment [Programmatically Removing & Updating Default Lakehouse Of A Fabric Notebook](https://hashnode.com/posts/programmatically-removing-updating-default-lakehouse-of-a-fabric-notebook/66eca83749a02928188090ea)

[Vibha Trehan](https://hashnode.com/@vibhaom)

[Nov 12, 2024](https://hashnode.com/posts/programmatically-removing-updating-default-lakehouse-of-a-fabric-notebook/66eca83749a02928188090ea/comment/6733aa20c0aa902c2204fe8c)

Thank you so much for your articles. I have been trying to acheive the same, but I found a strange thng when i experimented with this code. Even though the lakehouses get removed, the trace of is still there. Try observing "synapse\_widget" section of the JSON returned by notebookutils.notebook.getDefinition. I am not able to find documentation for all the elements of this JSOn - but synapse widget is listed all the lakehouses (even after the removeall lakehouses code)

[Sandeep Pawar](https://hashnode.com/@PawarBI)

[Nov 12, 2024](https://hashnode.com/posts/programmatically-removing-updating-default-lakehouse-of-a-fabric-notebook/66eca83749a02928188090ea/comment/6733aa20c0aa902c2204fe8c#reply-6733b3b71bde01a5398779ff)

Thanks Vibha, they must have updated the definitions. I will take a look again.
