minor fixes to the update system