making changes to the index