update maze stuff