whats the main difference between update rules and transfer rules, and in which situations do we use each one?