Updating puzzle model