sync resources