updated time with minute calculation