modify the loan type methon