Update docstring of insert, add a case in get_path for case it is not a MagicDotPath or Tuple of MagicDotPath