Update titles for history and diff view