sync rest