function sync from one device