updated for fragment udpates