fix updatefields

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>