update titles nicely if needed