settings update + logging added