update a bunch of stuff