update function that calculate days of my life