added an update method that permits users to update values on existing records