Update field_replace.cpp