datapart init script upgrade fix