Update Extension.cpp