Subpanel refresh

 $bean->load_relationship('opportunities_e14_lob_1');
              $bean->opportunities_e14_lob_1->add($lobBean);

i used this but lob record doesn’t except if i refresh screen is there a solution