updated well sum utility