update loans