Minor alterations.
Minor alterations.
Adding validation rules to update function.
Minor alterations.