DB::table() update in laravel code example
Example: laravel db::query update
DB::table('user')->where('email', $userEmail)->update(array('member_type' => $plan));
DB::table('user')->where('email', $userEmail)->update(array('member_type' => $plan));