Added support for editing metadata and indexes