Update code for add/update/delete gauge. references #77