Update Convert record

 $currentmodule=$options['module'];
 if($currentmodule=="prospects"){
          ['id' => $targetId] = $options;
        

        $Target = \BeanFactory::getBean('Prospects', $targetId);
        $Target->status_c='converted';
        $Target->save();
       
}

i tried adding this code to ConvertRecordAction.php file but i keep recieving this errror
[FATAL] Bean file does not exist in path: modules/Prospects/Prospect.php

Use Prospect, not Prospects in getBean()

[WARN] Cannot find bean file for module: Prospect
i got this warning

do i need this->init() and this->close() ?

can i edit convert target view as i edit convert lead from view.convertlead.php