maze update- working