[FIX] Reloading yaml does not update the res_ids