fixed all sync errors and updates src docs