updating image gallery view