fixed first of a few update bugs