Updated register and index
Updated register and index