I think that you missed a DbHelper.remap('oldbucketurl', 'newbucketurl') between steps 2 and 3.
DbHelper.remap('oldbucketurl', 'newbucketurl')