Final update for 8puzzle