Update domain records
Use new style for actions
More API cleanup