added updates JS view spec and implemented update delete