public function postUpdatepackage()
 {
     $input = Input::all();
     $input['updated_by'] = Auth::user()->id;
     $check = PackageAssumption::where('id', '!=', Input::get('id'))->where('name', '=', Input::get('name'))->where('description', '=', Input::get('description'))->where('active', '=', 1)->where('project_id', '=', Session::get('project_id'))->get();
     if ($check->isEmpty()) {
         $category = PackageAssumption::find(Input::get('id'));
         $category->update($input);
         return Redirect::to('package-assumption');
     } else {
         return Redirect::to('package-assumption')->withErrors('Package Assumption duplicate!');
     }
 }