update gallery with pagination & filters