update maze demo