Update ninja.ts