adding invalidation

and removing unuseful data-api reference