updating image size and references