Changed updateSync to be private