add template datastore and show in index