shortcuts: adapt new shortcut api