updated image position