Add and remove pins

why not use a batch call directly?