added support for auto sync w server