RTC Device not working

there is a problem with readings, the update of the display is in loop, the program cannot read the data in time an error occurs. the pulse to UPD must arrive after the reading was made.

I already had a mistake like that