update offline sync