update ninja object