sync resource