Eliminated print function for study purpose.
Eliminated non useful part to save the forms.
Built the function to update the item if there was an error.