sync preferences