remove old resource when update mode in fronted