update span in header