Move from thunks to promises (update co from v3 to v4)