Update timelapse.py