update message time every 30 seconds