update type and headline