update logging and config