Fix update from 0.3.x to 0.4.x