Updated sync.
Added network check, offline support.