pass the pk to compile_update