fixed evernote's incremental history update algorithm even better