Trying to get a unique date time per day

I am trying to get the last updated_date so I can make a trend graph. Using the following:

SELECT (hour(BUILDRESULTSUMMARY.UPDATED_DATE)) as HOUR_TIME, time_format(BUILDRESULTSUMMARY.UPDATED_DATE, ‘%H:%i:%s’) AS UPDATED_TIME, date_format(MAX(BUILDRESULTSUMMARY.UPDATED_DATE), ‘%Y-%m-%d’) AS BUILD_COMPLETED_DATE, BUILD_KEY.KEY AS FULL_KEY
FROM BUILDRESULTSUMMARY
LEFT JOIN BUILD BUILD_KEY ON BUILDRESULTSUMMARY.BUILD_KEY = BUILD_KEY.KEY
WHERE (
date(BUILDRESULTSUMMARY.BUILD_COMPLETED_DATE)
BETWEEN date(date_add(now(), INTERVAL -30 day)) AND date(date_add(now(), INTERVAL -1 day))
AND BUILDRESULTSUMMARY.BUILD_STATE = “Successful”
AND (BUILD_KEY.KEY = “DAILY”)
)
GROUP BY UPDATED_TIME
ORDER BY BUILD_COMPLETED_DATE asc

I get some days that have multiple builds so the updated_date is summed and this ruins my trend.
Is there a way to get just the latest or max value for only the HOUR_TIME column?