updated index and security