Add subscribe action.
Sync with amber-common