refactor, extend device regId ttl.