updated api controllers