update headpic and html properties