update theme block generate flow, it makes flexiable