fix wrong parameters order for update operation
Added methods to create, get and drop indexes.