update title and header