Update Model Function

Update Model Function