Add sync method in Network class