updating fragments