added update_index command