Add detection of OCF in update.py.