upgrade BB-codes flow