updating seconds