change action type to chain