Change: updated imported modules

* Change: updated imported modules to get rid of DeprecationWarning
  [ghicaale refs #19289]