Added update function. Changed field add/delete function names.