update river config