updated coordinates for images