Finish new update system and fix issue caused by delayed preference writes