adding accidentally removed upgrade directives to v0.2.x branch