Update loop doc

@tarekziade @Natim r?
We should fix the timestamp here and return the one in seconds.