updated the index palatially