Fix create and update tools to work with array of records as parameter