Change mark-as-needing update to take permissions.json files rather than images as its arguments.