updated record to extend laravels collection