Fix command update when tag is nil
add convert seconds to time string