/**
  * @param array $payload
  * @param int $id
  * @return Fund|null
  */
 public function update(array $payload, $id)
 {
     $fund = $this->fund->with('items')->find($id);
     if (!$fund) {
         return null;
     }
     $fund->fill($payload)->save();
     return $fund;
 }