update text formats, add buttons