update galleries index