Fixed the Database not updating (ignore the other stuff)