added logging option
test update