update fragment text