#update - use textContent instead of innerHTML