Fix update_theme to make it keep things up to date sanely