Update for index

Signed-off-by: Ben Merrell <ben@digitalboutique.co.uk>