Updating the database to get it to work properly. Not complete yet.