updating heads