Update and.cpp