You start out asking if a will supersedes a document releasing a loan (no) but later say your father "said that the loan was forgiven upon death."  If he said that in writing and signed it, that will trump the will, because it came first (presumably).  If he only spoke it, it will have no legal impact and the will will prevail.