processform and index changes