update conf and profile