udpated model