fix field update bug