add a hook to cmd_updateclass

I need to be able to modify the key in order for the updateclass command to work with the FilePaths plugin