updated the main sync