fixed the variable name "field_vals" in channel.update()

I found the bug that variable "field_vals" in channel::update function were not the same name.