updated imported package of middleware classes