updated the regenerate AC to reference nla obj id rather than internal i...

Hi Terence,

This request includes fix for regenerate AC failure caused by the url reference internal id rather than work's object id.  Could you please review this fix?

Thanks,
Shuang