Update based on upstream api change to CommandHook.post