updating image string