updated image retrieving