set_rcrds function

Set records for given unit