Revert "revert flat-ui update"

This reverts commit ed6441be01eb60e3cc450fb09f6858d14df45559.
revert flat-ui update