update conf code