Updated loan, loan_application and permission