merge pet prior and state