tab update function changed for rename file issue