Need to go history functions and update time