Update operations.cpp