Updated sync procedure