updating index naveed