Change init size and modify html template