update Switchyrules