fix error when batch updating and there's no fields