update to fragment