Never Mind, It was a bug in Laravel and has been updated :)
It will work fine like this
$user->update([
'settings' => [
'is_subscribed' => 0,
'push_notifications' => [
'follow' => false,
]
],
]);