added logging, fixed ckan updates