Add template filter seconds to duration

Remove depecrated function updateDataTime