updating papertrail logging for more reliable communication