update for new version of dispatch