Loan book quality improves, margin remains under pressure