Implemented Try Catch Methods

also removed the commit update button and modified the submit new record
button to save new record or update existing record