updated flip dot matrix