updated predator state change conditions in state transition diagram