Fix issue regarding the error message when updating an entry

* Added a check to see if `ul` command was successful.
* Break process if unproductive
Merge pull request #12 from hjpotter92/issues/20

Fix issue regarding the error message when updating an entry

Closes HiT-Hi-FiT-Hai/hhfh-issues#20