update html when view is inserted

If the value is not null when the View is inserted, the view doesn't reflect that. This fixes that bug.