updates the title