Refactored code and added transaction when saving data type
Refactored code and added transaction when saving data type

fletch3555/voyager,handiwijoyo/voyager,handiwijoyo/voyager,SaadEddinHassania/voyager,fergthh/voyager,MahmoudAljabary/voyager,voodoostudio/One_admin,TimurGit/voyager,davodavodavo3/voyager,unabomber87/voyager,aronpc/voyager,TimurGit/voyager,AdrianKuriata/voyager,davodavodavo3/voyager,the-control-group/voyager,nick1122/voyager,fletch3555/voyager,nick1122/voyager,voodoostudio/One_admin,Elyahou/voyager,darit/voyager,akaZorg/voyager,SaadEddinHassania/voyager,aronpc/voyager,unabomber87/voyager,AdrianKuriata/voyager,MahmoudAljabary/voyager,Elyahou/voyager,fergthh/voyager,akaZorg/voyager,the-control-group/voyager,darit/voyager