fix(server/key): unable to update unexpired ttl

fixes #709
@xiangli-cmu @sym3tri