Update params of update_network function