Added function to update load history.