Update title based on name