Updates to the api controllers.