Updated a bunch of stuff and fixed db issues.