added new flow for subscription topic according type