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.
Merge pull request #2 from mehulkar/patch-1

update html when view is inserted