Updating the HEAD