updated index stuff