Add setList method in resource module