removed unnecessary comments for updateTTL function