change access to index