update id of switch symbols