laravel update relationship api code example Example: laravel mass update relationship $channel->videos()->update(['visibility' => true]);