Update for combining function