updating background images for each page