Sync resources.