Update image.cpp