dengan kelancangan Laravel 8

return redirect('dashboard')->with('success', 'Profile updated successfully!');
Lokesh003