added new feature for config set_item() to set item on an index item.

Like get_item('item', 'index'), now can use set_item() with same effect.