change tab type