updating the logging