Consumer sentiment rises in U Michigan survey for first time in months