Addapt mission to the new API