modify some tab attribute