better config defaulting, update index