updating heading for new def

by adding the length for last heading