deleted fragment update
update function is working