Updating DB stuff.