it's not displaying the new uploaded image but continues with the previous image