Added ajax gallery update