fixed ttl bug on updates