Implemented DRY for update_subnet, updated tests