use global middlewares and updating mission now returns that mission in JSON response