Updated Class for localDB