update history contents when pasteboard is updated