update popup content as a page and added translate feature