updates controllers to handle case when no results exist