update api controllers