update format of binary strokes