changed repack route to POST