* added getAllBadges() & delete()
* Fixed issue where update() was creating new records instead of updating the existing record