Update passive.cpp