Updating index routines.