update randomImage and links