update galleries