updating Pat's model