adding function to change tab names