Update and cleanup text