first try at update astar mariostate