updates to dom rendering. and model entity work
dom updates