Update ifelse.py