add sync function in setting