Updating typescript defs