Add 'total' to the payload