Update HTML automatically on model changes.