Switches old block with a new one.