updating image grid popup stuff