appointment model updated