Update MY_Model.php

validation return result is not checked in update function
Merge pull request #975 from spheregendev/patch-1

Validations at the time of update