expand parents, db upgrade