update switchyrules