Update elements as needed