update loan period