More fiddling around with the database stuff

Mostly figuring out the update functionality