String permutations and Bricks update