updates numbers to headers