update script for delete recoreds via remote api