updated patient model