Updated image upload