Lawsuit seeks to protect shelter funding and services