updated switchDetail module