put some changes in DOM