updated index and image