rm unuse file, update index and plugin