update conf and log