Removed a function in util also added a synctable to the db