Updates a bunch of stuff