bugfixes, improved logging
separated events for add and update
modified logging configuration