Change upload image method