second attempt at updating image