Added index to database table