update fragment