add indices.create function and rename index.delete to indices.delete