added headers for index and edit index