update to sync device and phone

draft to sync device and phone