Updating the index file with constants