add populate, tests for update DOM when wrap