maze update