updated to the lastest version of switch