update last-command-event