Update typescript defs