Removed use of try-catch clause as logic operators. Updated the storage interface to delegate the update/insert switch to the storage adapter implementations.