Update validation for edit record