Update survival.py