Using ds3231 module instead of millis or delay

i am using a RTC DS3231 module instead of delays or millis to get accurate result over a prolonged run but i need to update the time variable multiple times within a single iteration of the loo() function.......how can i implement that??