use the appropriate post/put action when doing a batch save