update fragment helper method