renamed sync to path to match it's purpose