file removal and update