Update Model.php

Ability to check if model has some rules and unique validation rule amended to work when update is made.