Update Model.php

solve the issue that model is always dirty.