fixed update bug when updating on a missing field