fix migrate to upload image and avatar

I change migrate because it's not show pictures or avatar when I upload them :)