updating timer to provide time elapsed (since added, or since last call for loops) to the action called