sync optimization