explicitly pass the pk to compile_update