check invalidation token after saving diff