allow ttl updates when ttl is negative

Fixes #49.