update index and emitter to export